package com.fone.player.client;

import java.util.ArrayList;
import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

import com.fone.player.client.LoginspaceRst.User;
import com.fone.player.client.LoginspaceRst.Users;

/**
 * @author 刘昆  (liukun@100tv.com)
 * @since  2014-04-22
 */
@Root(strict = false)
public class UsRst extends Rst{
	
	@Root(strict = false)
	public static class UserIDs{
		@ElementList(inline=true, entry="userid", required=false)
	    public ArrayList<String> useridList; 
	}
//	/** 错误代码
//  	0 表示成功. */
//	@Element
//	public int errorcode;
//
//	/** 错误信息. */
//	@Element
//	public String errormsg;
	
	/** 状态标识：0未付费 1已付费. */
	@Element (required=false)
	public int state;
	
	/** 付费入口页地址. */
	@Element (required=false)
	public String url;
	
	/** 是否有帐户seqid */
	@Element (required=false)
	public String seqid;
//	/** 账户seqid 对应的userid*/
//	@Element (required=false)
//	public String userid;
	
	@Element (required=false)
	public UserIDs users;
	
//	/** 是否成功 result */
//	@Element (required=false)
//	public String result;

}
